import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'app/save',
    method: 'post',
    data: data
  })
}
export function edit(data) {
  return request({
    url: 'app/update',
    method: 'post',
    data: data
  })
}
export function remove(data) {
  return request({
    url: 'app/remove',
    method: 'post',
    data: data
  })
}
export function listAll() {
  return request({
    url: 'app/listAll',
    method: 'post'
  })
}

